SftTree/OCX 7.0

SftTreeItems.SelectionGroups Property

Softel vdm, Inc.

Returns the number of groups of selected items.

Syntax       

Get

VB.NET

Count = object.SelectionGroups  As Integer

VB

Count = object.SelectionGroups  As Long

C#.NET

int Count = object.SelectionGroups;

VC++

long Count = object->SelectionGroups;
long Count = object->GetSelectionGroups();

C

HRESULT object->get_SelectionGroups(long* Count);

Delphi

Count := object.SelectionGroups   : Integer;

object

A SftTreeItems object.

Count

Returns the number of groups of selected items.

Comments

The SelectionGroups property returns the number of groups of selected items.

In a multiple selection tree control, many discontiguous groups of items may be selected.  While the Items.Selection property returns an index for each selected item, the Items.SelectionGroupStart and Items.SelectionGroupEnd properties return each group of selected items.  For a large number of selected items this is the preferred method.

See Also  SftTreeItems Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com